StringUtils.capitalize(yourString);. If you want to make sure that only the first letter is capitalized, like doing this for an enum , ... ... <看更多>
Search
Search
StringUtils.capitalize(yourString);. If you want to make sure that only the first letter is capitalized, like doing this for an enum , ... ... <看更多>
In general, it's better to respect the conventions of a language or framework as it lowers the cognitive dissonance for anyone reading the code (including ... ... <看更多>